import util.DbUtil

DbUtil.prepare()

def sql = DbUtil.sql

println ' Athlete Info '.center(25, '-')
sql.eachRow('select * from t_athlete') {
	println it.firstname + ' ' + it.lastname
	println it.birthday.format('yyyy-MM-dd')
	println '-' * 25
}

sql.close()
